import http from "@/http/index";

export default {

    insert: {
        name: "新增入库单",
        url: "/api/io",
        call: async function (params: any = {}) {
            return await http.post(this.url, params)
        }
    },

    select: {
        name: "入库单查询",
        url: "/api/io",
        call: async function (params: any = {}) {
            return await http.get(this.url, params)
        }
    },

    select_items: {
        name: "查询明细",
        url: "/api/io/items",
        call: async function (params: any = {}) {
            return await http.get(this.url, params)
        }
    }

}
